package com.app.mapper;

import com.app.model.AdminUserModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

@Mapper
public interface AdminUserMapper extends BaseMapper<AdminUserModel> {
    AdminUserModel selectUserIdByRoleAndArea(@Param("roleId") Integer roleId, @Param("code") String code);
    AdminUserModel selectUserIdByAreaCode(@Param("roleId") Integer roleId, @Param("code") String code);

    AdminUserModel inquireAboutDirectRegionalAgents(@Param("roleId") Integer roleId, @Param("code") String code);


}
